# create library from source files
DCMTK_ADD_LIBRARY(oficonv
    citrus_bcs.c
    citrus_bcs_strtol.c
    citrus_bcs_strtoul.c
    citrus_big5.c
    citrus_csmapper.c
    citrus_db.c
    citrus_db_factory.c
    citrus_db_hash.c
    citrus_dechanyu.c
    citrus_esdb.c
    citrus_euc.c
    citrus_euctw.c
    citrus_gbk2k.c
    citrus_hash.c
    citrus_hz.c
    citrus_iconv.c
    citrus_iconv_none.c
    citrus_iconv_std.c
    citrus_iso2022.c
    citrus_jisx0208.c
    citrus_johab.c
    citrus_lookup.c
    citrus_lookup_factory.c
    citrus_mapper_646.c
    citrus_mapper.c
    citrus_mapper_none.c
    citrus_mapper_serial.c
    citrus_mapper_std.c
    citrus_mapper_zone.c
    citrus_memstream.c
    citrus_mmap.c
    citrus_module.c
    citrus_mskanji.c
    citrus_none.c
    citrus_pivot_factory.c
    citrus_prop.c
    citrus_stdenc.c
    citrus_ues.c
    citrus_utf1632.c
    citrus_utf7.c
    citrus_utf8.c
    citrus_viqr.c
    citrus_zw.c
    oficonv_iconv.c
    oficonv_logger.c
    oficonv_strlcpy.c
    oficonv_strcasestr.c
    data_esdb.c
    data_csmapper.c
)

DCMTK_TARGET_LINK_LIBRARIES(oficonv ${THREAD_LIBS} ${WIN32_STD_LIBRARIES})
